<?php
/**
 * author      : Administrator
 * createTime  : 2016/7/26 9:04
 */
namespace Home\Controller;

use Think\Controller;

class UserController extends Controller
{
    /* public function _initialize()
     {

     }*/

    /**
     * 判断是否登录
     */
    private function isLogin()
    {
        if (session('?blog_user_name')) {
            return true;
        } else {
            return false;
        }
    }
}